package com.aosan.website.common.security.entity

import com.aosan.website.common.core.constant.SecurityConstant
import org.springframework.security.core.GrantedAuthority

class RoleAuthority(val code: String) : GrantedAuthority {

    override fun getAuthority(): String = SecurityConstant.ROLE_PREFIX + this.code;

}